from bots.botsconfig import *

#Namespaces
RecordsOfReleasePermit = '{urn:kr:gov:kcs:data:standard:KCS_RecordsOfReleasePermitSchemaModule:1:0:0}'
NoticeOfReceipt = '{urn:kr:gov:kcs:data:standard:KCS_NoticeOfReceiptSchemaModule:1:0:0}'
KCS_NoticeOfImportGoodsAmendmentResult = '{urn:kr:gov:kcs:data:standard:KCS_NoticeOfImportGoodsAmendmentResultSchemaModule:1:0:0}'
NoticeOfChangeOfDeclarationForBondedTransportation = '{urn:kr:gov:kcs:data:standard:KCS_NoticeOfChangeOfDeclarationForBondedTransportationSchemaModule:1:0:0}'
ScheduledCarryInInformationToBondedArea = '{urn:kr:gov:kcs:data:standard:KCS_ScheduledCarryInInformationToBondedAreaSchemaModule:1:0:0}'
ErrorsInDeclaration = '{urn:kr:gov:kcs:data:standard:KCS_ErrorsInDeclarationSchemaModule:1:0:0}'
NoticeOfAmendmentOfImportManifest = '{urn:kr:gov:kcs:data:standard:KCS_NoticeOfAmendmentOfImportManifestSchemaModule:1:0:0}'
NoticeOfScheduledCarryInItems = '{urn:kr:gov:kcs:data:standard:KCS_NoticeOfScheduledCarryInItemsSchemaModule:1:0:0}'
NoticeOfMaintenanceOrBLPartitionResult = '{urn:kr:gov:kcs:data:standard:KCS_NoticeOfMaintenanceOrBLPartitionResultSchemaModule:1:0:0}'
NoticeOfOmissionOfScheduledOverdueGoodsInformation = '{urn:kr:gov:kcs:data:standard:KCS_NoticeOfOmissionOfScheduledOverdueGoodsInformationSchemaModule:1:0:0}'
NoticeOfEncouragementOfDeclarationOfReleaseForEarlyCarriedInGoods = '{urn:kr:gov:kcs:data:standard:KCS_NoticeOfEncouragementOfDeclarationOfReleaseForEarlyCarriedInGoodsSchemaModule:1:0:0}'

ns2 = '{urn:kr:gov:kcs:common:standard:KCS_ReusableAggregateBusinessInformationEntitySchemaModule:1:0:0}'

mailbagsearch = [
    {'xpath':u'{0}Document/'.format(RecordsOfReleasePermit)+'{0}TypeCode'.format(ns2),'content':'99','messagetype':'CUSCRAS93AKE_99'},
    {'xpath':u'{0}Document/'.format(NoticeOfReceipt)+'{0}TypeCode'.format(ns2),'content':'5IO','messagetype':'CUSRESS93AUN_5IO'},
    {'xpath':u'{0}Document/'.format(KCS_NoticeOfImportGoodsAmendmentResult)+'{0}TypeCode'.format(ns2),'content':'5LG','messagetype':'CUSRESS93AUN_5LG'},
    {'xpath':u'{0}Document/'.format(NoticeOfChangeOfDeclarationForBondedTransportation)+'{0}TypeCode'.format(ns2),'content':'5IM','messagetype':'CUSRESS93AUN_5IM'},
    {'xpath':u'{0}Document/'.format(ScheduledCarryInInformationToBondedArea)+'{0}TypeCode'.format(ns2),'content':'5IJ','messagetype':'CUSINFS93AKE_5IJ'},
    {'xpath':u'{0}Document/'.format(ErrorsInDeclaration)+'{0}TypeCode'.format(ns2),'content':'5IP','messagetype':'CUSAPES93AKE_5IP'},
    {'xpath':u'{0}Document/'.format(NoticeOfAmendmentOfImportManifest)+'{0}TypeCode'.format(ns2),'content':'5FF','messagetype':'CUSMANS93AKE_5FF'},
    {'xpath':u'{0}Document/'.format(NoticeOfScheduledCarryInItems)+'{0}TypeCode'.format(ns2),'content':'5LP','messagetype':'CUSMANS93AKE_5LP'},
    {'xpath':u'{0}Document/'.format(NoticeOfMaintenanceOrBLPartitionResult)+'{0}TypeCode'.format(ns2),'content':'5HF','messagetype':'CUSCARS93AKE_5HF'},
    {'xpath':u'{0}Document/'.format(NoticeOfOmissionOfScheduledOverdueGoodsInformation)+'{0}TypeCode'.format(ns2),'content':'5IN','messagetype':'CUSINSS93AKE_5IN'},
    {'xpath':u'{0}Document/'.format(NoticeOfEncouragementOfDeclarationOfReleaseForEarlyCarriedInGoods)+'{0}TypeCode'.format(ns2),'content':'5HG','messagetype':'CUSINSS93AKE_5HG'},
    ]
